CVE-2023-52530
wifi: mac80211: fix potential key use-after-free
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix potential key use-after-free When ieee80211_key_link() is called by ieee80211_gtk_rekey_add() but returns 0 due to KRACK protection (identical key reinstall), ieee80211_gtk_rekey_add() will still return a pointer into the key, in a potential use-after-free. This normally doesn't happen since it's only called by iwlwifi in case of WoWLAN rekey offload which has its own KRACK protection, but still better to fix, do that by returning an error code and converting that to success on the cfg80211 boundary only, leaving the error for bad callers of ieee80211_gtk_rekey_add().
INFO
Published Date :
March 2, 2024, 10:15 p.m.
Last Modified :
Nov. 3, 2025, 9:16 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the Linux kernel to a patched version.
- Reboot the system after the update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-52530.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-52530 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-52530
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-52530 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52530 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 03, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html -
Initial Analysis by [email protected]
Dec. 11, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.14 up to (excluding) 5.4.285 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.288 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.169 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.57 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.5.7 *cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/2408f491ff998d674707725eadc47d8930aced09 No Types Assigned https://git.kernel.org/stable/c/2408f491ff998d674707725eadc47d8930aced09 Patch Changed Reference Type https://git.kernel.org/stable/c/2f4e16e39e4f5e78248dd9e51276a83203950b36 No Types Assigned https://git.kernel.org/stable/c/2f4e16e39e4f5e78248dd9e51276a83203950b36 Patch Changed Reference Type https://git.kernel.org/stable/c/2f4e16e39e4f5e78248dd9e51276a83203950b36 No Types Assigned https://git.kernel.org/stable/c/2f4e16e39e4f5e78248dd9e51276a83203950b36 Patch Changed Reference Type https://git.kernel.org/stable/c/31db78a4923ef5e2008f2eed321811ca79e7f71b No Types Assigned https://git.kernel.org/stable/c/31db78a4923ef5e2008f2eed321811ca79e7f71b Patch Changed Reference Type https://git.kernel.org/stable/c/31db78a4923ef5e2008f2eed321811ca79e7f71b No Types Assigned https://git.kernel.org/stable/c/31db78a4923ef5e2008f2eed321811ca79e7f71b Patch Changed Reference Type https://git.kernel.org/stable/c/65c72a7201704574dace708cbc96a8f367b1491d No Types Assigned https://git.kernel.org/stable/c/65c72a7201704574dace708cbc96a8f367b1491d Patch Changed Reference Type https://git.kernel.org/stable/c/65c72a7201704574dace708cbc96a8f367b1491d No Types Assigned https://git.kernel.org/stable/c/65c72a7201704574dace708cbc96a8f367b1491d Patch Changed Reference Type https://git.kernel.org/stable/c/e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0 No Types Assigned https://git.kernel.org/stable/c/e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0 Patch Changed Reference Type https://git.kernel.org/stable/c/e8e599a635066c50ac214c3e10858f1d37e03022 No Types Assigned https://git.kernel.org/stable/c/e8e599a635066c50ac214c3e10858f1d37e03022 Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/2f4e16e39e4f5e78248dd9e51276a83203950b36 Added Reference https://git.kernel.org/stable/c/31db78a4923ef5e2008f2eed321811ca79e7f71b Added Reference https://git.kernel.org/stable/c/65c72a7201704574dace708cbc96a8f367b1491d -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 08, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/2408f491ff998d674707725eadc47d8930aced09 [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 22, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/e8e599a635066c50ac214c3e10858f1d37e03022 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/e8a834eb09bb95c2bf9c76f1a28ecef7d8c439d0 [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Mar. 02, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix potential key use-after-free When ieee80211_key_link() is called by ieee80211_gtk_rekey_add() but returns 0 due to KRACK protection (identical key reinstall), ieee80211_gtk_rekey_add() will still return a pointer into the key, in a potential use-after-free. This normally doesn't happen since it's only called by iwlwifi in case of WoWLAN rekey offload which has its own KRACK protection, but still better to fix, do that by returning an error code and converting that to success on the cfg80211 boundary only, leaving the error for bad callers of ieee80211_gtk_rekey_add(). Added Reference Linux https://git.kernel.org/stable/c/2f4e16e39e4f5e78248dd9e51276a83203950b36 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/65c72a7201704574dace708cbc96a8f367b1491d [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/31db78a4923ef5e2008f2eed321811ca79e7f71b [No types assigned]